import service from '../utils/request2.js'

//上传个人信息图片
export const uploadImg = (data) => service({
	url:'/api/img/upload',
	method:'post',
	data
})

//根据user_id查找图片
export const getImagesByUserId = (data) =>service({
	url:'/api/img/search/all',
	method:'get',
	data
})